import type { ThemeConfig } from 'antd/es/config-provider/context'
import type { AliasToken } from 'antd/lib/theme/interface'

import Table from './Table'

export default function componentsOverrides(token: AliasToken): ThemeConfig['components'] {
  return Object.assign(Table(token))
}
